import React, { memo } from 'react'

export default memo(function B(props) {
    console.log('b组件更新了');
    return (
        <div onClick={props.fn}>B</div>
    )
})

